interface Env {
  baseUrl: string
}

const devEnv: Env = {baseUrl: "http://127.0.0.1:8000"}
const masterEnv: Env = {
  baseUrl: "https://xiaotang365.cn"
}

export function getEnv(): Env {
  if(process.env.NODE_ENV === "development")  return devEnv;
  return masterEnv

}
